<?php
session_start();
include_once('../../php/postgre.php');
$idakun = $_POST['idakun'];
$username = $_POST['user'];
$pass = $_POST['pass'];
$pj = $_POST['pj'];
$nip = $_POST['nip'];

exec_query("update mus_akun set namaakun='".$username."' ,pass='".$pass."' ,nama_pj='".$pj."', nip_akun='".$nip."' where id_akun=".$idakun);
echo 'success__'.$idakun.'__';

logs('Mengubah Informasi User','Username = '.$username.'; Nama Pj = '.$pj.'; NIP user = '.$nip);
?>